import React from 'react';
import { Tabs } from 'antd';
import type { TabsProps } from 'antd';
import { Image } from 'antd';
const onChange = (key: string) => {
  console.log(key);
};

const items: TabsProps['items'] = [
  {
    key: '1',
    label: '关注',
    children: [
      <div>
      关注列表
      </div>
    ],
  },
  {
    key: '2',
    label: '推荐',
    children: [
      <div>
        <p>全国禁止盐化萨索洛打瞌睡凑个阿斯蒂芬规划局快乐图一片片热<br /></p>
        <p>全国禁止盐化萨索洛打瞌睡凑个阿斯蒂芬规划局快乐去玩儿图一片片热<br /></p>
        <p>全国禁止盐化萨索洛打瞌睡凑个阿斯蒂芬规划局快乐去玩儿图一片片热<br /></p>
        <p>全国禁止盐化萨索洛打瞌睡凑个阿斯蒂芬规划局快乐去玩儿图一片片热<br /></p>
        <p>全国禁止盐化萨索洛打瞌睡凑个阿斯蒂芬规划局快乐去玩儿图一片片热<br /></p>
        <p>全国禁止盐化萨索洛打瞌睡凑个阿斯蒂芬规划局快乐去玩儿图一片片热<br /></p>
        <p>全国禁止盐化萨索洛打瞌睡凑个阿斯蒂芬规划局快乐去玩儿图一片片热<br /></p>
        <p>全国禁止盐化萨索洛打瞌睡凑个阿斯蒂芬规划局快乐去玩儿图一片片热<br /></p>
        <p>全国禁止盐化萨索洛打瞌睡凑个阿斯蒂芬规划局快乐去玩儿图一片片热<br /></p>
      </div>
    ],
  },
  {
    key: '3',
    label: '热榜',
    children: [
      <div>
        <p><span style={{color:'orangered',fontSize:'20px'}}>1</span>阿萨啊啊啊搭搭撒撒大萨达湿哒哒达四大四大啊啊<Image
    width={100}
    src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
  /></p>
   <p><span style={{color:'orangered',fontSize:'20px'}}>2</span>阿萨啊啊啊搭搭撒撒大萨达湿哒哒达四大四大啊啊<Image
    width={100}
    src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
  /></p>
   <p><span style={{color:'orangered',fontSize:'20px'}}>3</span>阿萨啊啊啊搭搭撒撒大萨达湿哒哒达四大四大啊啊<Image
    width={100}
    src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
  /></p>
   <p>阿萨啊啊啊搭搭撒撒大萨达湿哒哒达四大四大啊啊<Image
    width={100}
    src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
  /></p>
   <p>阿萨啊啊啊搭搭撒撒大萨达湿哒哒达四大四大啊啊<Image
    width={100}
    src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
  /></p>
      </div>
    ],
  },
  {
    key: '4',
    label: '专栏',
    children: '专栏',
  },
];

const App: React.FC = () => <Tabs defaultActiveKey="1" items={items} onChange={onChange} />;

export default App;